package org.example.mallchat.domain.enums;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import org.checkerframework.checker.units.qual.A;

/**
 * 幂等类型枚举
 */
@AllArgsConstructor
@Getter
public enum IdempotentEnum {

    /**
     * 幂等类型-UID =》注册
     */
    UID_IDEMPOTENT(1, "UID"),

    /**
     * 幂等类型-消息发送 =》点赞
     */
    MESSAGE_IDEMPOTENT(2, "消息发送"),

    /**
     * 幂等类型-购买
     */
    BUY_IDEMPOTENT(3, "购买"),
    ;

    private Integer type;
    private String desc;
}
